\hypertarget{class_scene}{
\section{Scene Class Reference}
\label{class_scene}\index{Scene@{Scene}}
}
{\tt \#include $<$Scene.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_scene_e3bb95da36e1874789d28aadd8adb63a}{Scene} (\hyperlink{class_camera}{Camera} $\ast$cam)
\item 
\hyperlink{class_scene_3b8cec2e32546713915f8c6303c951f1}{$\sim$Scene} ()
\item 
\hyperlink{class_camera}{Camera} $\ast$ \hyperlink{class_scene_6d9f9b03cb7a2fd5972f822162a421ae}{get\_\-cam} ()
\begin{CompactList}\small\item\em Get the \hyperlink{class_camera}{Camera}. \item\end{CompactList}\item 
vector$<$ \hyperlink{class_object3_d}{Object3D} $\ast$ $>$ \hyperlink{class_scene_597a873d5cef43845d0007bb671ee1ba}{get\_\-objects} ()
\begin{CompactList}\small\item\em Get the objects. \item\end{CompactList}\item 
void \hyperlink{class_scene_8cf76f8f8f04e4d14677985229910a40}{set\_\-state} (\hyperlink{_types_8h_7b81e258c98a6c1191e11b3f53853277}{TState} st)
\begin{CompactList}\small\item\em Set the operation mode. \item\end{CompactList}\item 
\hyperlink{_types_8h_7b81e258c98a6c1191e11b3f53853277}{TState} \hyperlink{class_scene_545da6694a91b467864501cd88fceb8c}{get\_\-state} ()
\begin{CompactList}\small\item\em Get the operation mode. \item\end{CompactList}\item 
void \hyperlink{class_scene_1cb1fd7eab4e761e90b9f5a74d598afe}{importar} (char $\ast$ruta)
\item 
GLuint \hyperlink{class_scene_717dade2f5f7e2e6d5fda5cb701919ac}{add\_\-object} (\hyperlink{class_object3_d}{Object3D} $\ast$o)
\begin{CompactList}\small\item\em Add a new object to scene. \item\end{CompactList}\item 
void \hyperlink{class_scene_ae62c47257d906b823bfca1be91a1fe6}{delete\_\-object} (GLuint n)
\begin{CompactList}\small\item\em Delete object n from scene. \item\end{CompactList}\item 
GLuint \hyperlink{class_scene_b77cf824140246a628d6982de3506deb}{select\_\-all} ()
\begin{CompactList}\small\item\em Select all objects. \item\end{CompactList}\item 
void \hyperlink{class_scene_f9eca276e7563d0b4d458d1775c495b7}{deselect\_\-all} ()
\begin{CompactList}\small\item\em Deselect all objects. \item\end{CompactList}\item 
GLuint \hyperlink{class_scene_07833d14eb8d900856eb362fcccd4eef}{select\_\-inverse} ()
\begin{CompactList}\small\item\em Make inverse selection. \item\end{CompactList}\item 
GLuint \hyperlink{class_scene_7550fbacdb5e49bf44dde1891c02b8b9}{select\_\-object} (GLuint n)
\begin{CompactList}\small\item\em Select n'th object. \item\end{CompactList}\item 
void \hyperlink{class_scene_4a487b4b94d0bcef9ea7ecbb990a0bce}{deselect\_\-object} (GLuint n)
\begin{CompactList}\small\item\em Deselect n'th object. \item\end{CompactList}\item 
\hyperlink{_types_8h_7b81e258c98a6c1191e11b3f53853277}{TState} \hyperlink{class_scene_dc8a7f6f567868073b67afa3c0dc1a6c}{get\_\-state\_\-i} (GLuint n)
\begin{CompactList}\small\item\em State of i-object. \item\end{CompactList}\item 
\hyperlink{class_triangle}{Triangle} $\ast$ \hyperlink{class_scene_83feac5d6587607eddb227ea34290aa7}{edit\_\-face} (GLuint n\_\-obj, GLuint n\_\-triang)
\begin{CompactList}\small\item\em Edit a face of an object. \item\end{CompactList}\item 
GLuint \hyperlink{class_scene_a04f49ea73fa8eef0974aa9f489adb8d}{get\_\-n\_\-selected\_\-objects} ()
\begin{CompactList}\small\item\em Get number of selected objects. \item\end{CompactList}\item 
vector$<$ GLuint $>$ \hyperlink{class_scene_4a14021536ae3b75cdfd80a5ff667349}{get\_\-selected\_\-objects} ()
\begin{CompactList}\small\item\em Get the selected objects indexes. \item\end{CompactList}\item 
GLuint \hyperlink{class_scene_8ca9bfa5d8ecf08fda5bbcddd7807220}{edit\_\-object} (GLuint n)
\begin{CompactList}\small\item\em Edit n'th object. \item\end{CompactList}\item 
void \hyperlink{class_scene_8c878854d1ecc905763b89c80ece4ec7}{dont\_\-edit} ()
\item 
void \hyperlink{class_scene_0bd4d848256cb8e0bee212ee1128e125}{dont\_\-edit\_\-face} ()
\item 
void \hyperlink{class_scene_7ab39f23b7b9248e3e4a1c374245baa6}{move} (\hyperlink{class_vertex3_d}{Vertex3D} \hyperlink{merge__test_2main_8cpp_11e27e757a38bde7908e9ca4645951eb}{pos})
\begin{CompactList}\small\item\em Move selected objects to determined position. \item\end{CompactList}\item 
void \hyperlink{class_scene_a35381dc8102a681e846324c9439ff3d}{scale} (GLdouble factor, \hyperlink{_types_8h_ad86e256c96ab18e7ad05e06a5dd8208}{TAxis} axis)
\begin{CompactList}\small\item\em Scale selected objects. \item\end{CompactList}\item 
void \hyperlink{class_scene_faca31e6be27bc6d8591f343eb12a9fe}{rotate} (GLdouble degree, \hyperlink{_types_8h_ad86e256c96ab18e7ad05e06a5dd8208}{TAxis} axis)
\begin{CompactList}\small\item\em Rotate selected objects. \item\end{CompactList}\item 
void \hyperlink{class_scene_71ae4716540b1bf29ca0d625f956c8c3}{extrude} (\hyperlink{class_triangle}{Triangle} $\ast$t, GLdouble dist)
\begin{CompactList}\small\item\em Extrude the edited object. \item\end{CompactList}\item 
void \hyperlink{class_scene_0c6ebf94218c301c1336efa56f6d2a14}{merge} (GLuint, GLuint)
\begin{CompactList}\small\item\em Merge two objects. \item\end{CompactList}\item 
void \hyperlink{class_scene_29b4466b5e52d786b89b72e515c6c707}{insert\_\-plane} (GLdouble x, GLdouble y)
\begin{CompactList}\small\item\em Insert a plane. \item\end{CompactList}\item 
void \hyperlink{class_scene_63bb8e39e0c28b07f18a560c313f9e1b}{insert\_\-cube} (GLdouble side)
\begin{CompactList}\small\item\em Insert a cube. \item\end{CompactList}\item 
void \hyperlink{class_scene_4fccf249ba30c5ddaddbde04e502b667}{insert\_\-sphere} (GLdouble radius)
\begin{CompactList}\small\item\em Insert sphere. \item\end{CompactList}\item 
void \hyperlink{class_scene_9572f633835ba3df50a6aecc7d65a28a}{insert\_\-pyramid} (GLuint base\_\-side\_\-n, GLdouble base\_\-side, GLdouble height)
\begin{CompactList}\small\item\em Insert pyramid. \item\end{CompactList}\item 
void \hyperlink{class_scene_1cbb8993b8dc0943ddf1a8e123a9f0a9}{insert\_\-monkey} ()
\begin{CompactList}\small\item\em Insert monkey. \item\end{CompactList}\item 
void \hyperlink{class_scene_36f6361335b985ccaa2d6e9d6eedb826}{insert\_\-teapot} ()
\begin{CompactList}\small\item\em Insert teapot. \item\end{CompactList}\item 
void \hyperlink{class_scene_c0e3d2c98ba6063a086467fb2c19142f}{draw} ()
\end{CompactItemize}


\subsection{Detailed Description}


Definition at line 26 of file Scene.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_scene_e3bb95da36e1874789d28aadd8adb63a}{
\index{Scene@{Scene}!Scene@{Scene}}
\index{Scene@{Scene}!Scene@{Scene}}
\subsubsection[{Scene}]{\setlength{\rightskip}{0pt plus 5cm}Scene::Scene ({\bf Camera} $\ast$ {\em cam})}}
\label{class_scene_e3bb95da36e1874789d28aadd8adb63a}




Definition at line 13 of file Scene.cpp.\hypertarget{class_scene_3b8cec2e32546713915f8c6303c951f1}{
\index{Scene@{Scene}!$\sim$Scene@{$\sim$Scene}}
\index{$\sim$Scene@{$\sim$Scene}!Scene@{Scene}}
\subsubsection[{$\sim$Scene}]{\setlength{\rightskip}{0pt plus 5cm}Scene::$\sim$Scene ()}}
\label{class_scene_3b8cec2e32546713915f8c6303c951f1}




Definition at line 18 of file Scene.cpp.

\subsection{Member Function Documentation}
\hypertarget{class_scene_717dade2f5f7e2e6d5fda5cb701919ac}{
\index{Scene@{Scene}!add\_\-object@{add\_\-object}}
\index{add\_\-object@{add\_\-object}!Scene@{Scene}}
\subsubsection[{add\_\-object}]{\setlength{\rightskip}{0pt plus 5cm}GLuint Scene::add\_\-object ({\bf Object3D} $\ast$ {\em o})}}
\label{class_scene_717dade2f5f7e2e6d5fda5cb701919ac}


Add a new object to scene. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em o}]: new object \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]: index of the new object \end{Desc}


Definition at line 23 of file Scene.cpp.\hypertarget{class_scene_ae62c47257d906b823bfca1be91a1fe6}{
\index{Scene@{Scene}!delete\_\-object@{delete\_\-object}}
\index{delete\_\-object@{delete\_\-object}!Scene@{Scene}}
\subsubsection[{delete\_\-object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::delete\_\-object (GLuint {\em n})}}
\label{class_scene_ae62c47257d906b823bfca1be91a1fe6}


Delete object n from scene. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em n}]: index of the object to delete \end{description}
\end{Desc}


Definition at line 55 of file Scene.cpp.\hypertarget{class_scene_f9eca276e7563d0b4d458d1775c495b7}{
\index{Scene@{Scene}!deselect\_\-all@{deselect\_\-all}}
\index{deselect\_\-all@{deselect\_\-all}!Scene@{Scene}}
\subsubsection[{deselect\_\-all}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::deselect\_\-all ()}}
\label{class_scene_f9eca276e7563d0b4d458d1775c495b7}


Deselect all objects. 



Definition at line 69 of file Scene.cpp.\hypertarget{class_scene_4a487b4b94d0bcef9ea7ecbb990a0bce}{
\index{Scene@{Scene}!deselect\_\-object@{deselect\_\-object}}
\index{deselect\_\-object@{deselect\_\-object}!Scene@{Scene}}
\subsubsection[{deselect\_\-object}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::deselect\_\-object (GLuint {\em n})}}
\label{class_scene_4a487b4b94d0bcef9ea7ecbb990a0bce}


Deselect n'th object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em n}]: index of the object in vector \end{description}
\end{Desc}


Definition at line 100 of file Scene.cpp.\hypertarget{class_scene_8c878854d1ecc905763b89c80ece4ec7}{
\index{Scene@{Scene}!dont\_\-edit@{dont\_\-edit}}
\index{dont\_\-edit@{dont\_\-edit}!Scene@{Scene}}
\subsubsection[{dont\_\-edit}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::dont\_\-edit ()}}
\label{class_scene_8c878854d1ecc905763b89c80ece4ec7}


Dont edit any object 

Definition at line 156 of file Scene.cpp.\hypertarget{class_scene_0bd4d848256cb8e0bee212ee1128e125}{
\index{Scene@{Scene}!dont\_\-edit\_\-face@{dont\_\-edit\_\-face}}
\index{dont\_\-edit\_\-face@{dont\_\-edit\_\-face}!Scene@{Scene}}
\subsubsection[{dont\_\-edit\_\-face}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::dont\_\-edit\_\-face ()}}
\label{class_scene_0bd4d848256cb8e0bee212ee1128e125}


Dont edit the edited face 

Definition at line 168 of file Scene.cpp.\hypertarget{class_scene_c0e3d2c98ba6063a086467fb2c19142f}{
\index{Scene@{Scene}!draw@{draw}}
\index{draw@{draw}!Scene@{Scene}}
\subsubsection[{draw}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::draw ()}}
\label{class_scene_c0e3d2c98ba6063a086467fb2c19142f}


Draw scene 

Definition at line 226 of file Scene.cpp.\hypertarget{class_scene_83feac5d6587607eddb227ea34290aa7}{
\index{Scene@{Scene}!edit\_\-face@{edit\_\-face}}
\index{edit\_\-face@{edit\_\-face}!Scene@{Scene}}
\subsubsection[{edit\_\-face}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Triangle} $\ast$ Scene::edit\_\-face (GLuint {\em n\_\-obj}, \/  GLuint {\em n\_\-triang})}}
\label{class_scene_83feac5d6587607eddb227ea34290aa7}


Edit a face of an object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em n\_\-obj}]: number of the object \item[{\em n\_\-triang}]: number of the triang of the object \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]: pointer to the n\_\-triang'th triangle \end{Desc}


Definition at line 114 of file Scene.cpp.\hypertarget{class_scene_8ca9bfa5d8ecf08fda5bbcddd7807220}{
\index{Scene@{Scene}!edit\_\-object@{edit\_\-object}}
\index{edit\_\-object@{edit\_\-object}!Scene@{Scene}}
\subsubsection[{edit\_\-object}]{\setlength{\rightskip}{0pt plus 5cm}GLuint Scene::edit\_\-object (GLuint {\em n})}}
\label{class_scene_8ca9bfa5d8ecf08fda5bbcddd7807220}


Edit n'th object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em n}]: index of the object \end{description}
\end{Desc}


Definition at line 146 of file Scene.cpp.\hypertarget{class_scene_71ae4716540b1bf29ca0d625f956c8c3}{
\index{Scene@{Scene}!extrude@{extrude}}
\index{extrude@{extrude}!Scene@{Scene}}
\subsubsection[{extrude}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::extrude ({\bf Triangle} $\ast$ {\em t}, \/  GLdouble {\em dist})}}
\label{class_scene_71ae4716540b1bf29ca0d625f956c8c3}


Extrude the edited object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em t}]: one of the triangles of the face to extrude \item[{\em dist}]: distance to extrude, sign means direction \end{description}
\end{Desc}


Definition at line 208 of file Scene.cpp.\hypertarget{class_scene_6d9f9b03cb7a2fd5972f822162a421ae}{
\index{Scene@{Scene}!get\_\-cam@{get\_\-cam}}
\index{get\_\-cam@{get\_\-cam}!Scene@{Scene}}
\subsubsection[{get\_\-cam}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Camera} $\ast$ Scene::get\_\-cam ()}}
\label{class_scene_6d9f9b03cb7a2fd5972f822162a421ae}


Get the \hyperlink{class_camera}{Camera}. 



Definition at line 36 of file Scene.cpp.\hypertarget{class_scene_a04f49ea73fa8eef0974aa9f489adb8d}{
\index{Scene@{Scene}!get\_\-n\_\-selected\_\-objects@{get\_\-n\_\-selected\_\-objects}}
\index{get\_\-n\_\-selected\_\-objects@{get\_\-n\_\-selected\_\-objects}!Scene@{Scene}}
\subsubsection[{get\_\-n\_\-selected\_\-objects}]{\setlength{\rightskip}{0pt plus 5cm}GLuint Scene::get\_\-n\_\-selected\_\-objects ()}}
\label{class_scene_a04f49ea73fa8eef0974aa9f489adb8d}


Get number of selected objects. 



Definition at line 125 of file Scene.cpp.\hypertarget{class_scene_597a873d5cef43845d0007bb671ee1ba}{
\index{Scene@{Scene}!get\_\-objects@{get\_\-objects}}
\index{get\_\-objects@{get\_\-objects}!Scene@{Scene}}
\subsubsection[{get\_\-objects}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ {\bf Object3D} $\ast$ $>$ Scene::get\_\-objects ()}}
\label{class_scene_597a873d5cef43845d0007bb671ee1ba}


Get the objects. 



Definition at line 30 of file Scene.cpp.\hypertarget{class_scene_4a14021536ae3b75cdfd80a5ff667349}{
\index{Scene@{Scene}!get\_\-selected\_\-objects@{get\_\-selected\_\-objects}}
\index{get\_\-selected\_\-objects@{get\_\-selected\_\-objects}!Scene@{Scene}}
\subsubsection[{get\_\-selected\_\-objects}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ GLuint $>$ Scene::get\_\-selected\_\-objects ()}}
\label{class_scene_4a14021536ae3b75cdfd80a5ff667349}


Get the selected objects indexes. 



Definition at line 135 of file Scene.cpp.\hypertarget{class_scene_545da6694a91b467864501cd88fceb8c}{
\index{Scene@{Scene}!get\_\-state@{get\_\-state}}
\index{get\_\-state@{get\_\-state}!Scene@{Scene}}
\subsubsection[{get\_\-state}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TState} Scene::get\_\-state ()}}
\label{class_scene_545da6694a91b467864501cd88fceb8c}


Get the operation mode. 



Definition at line 49 of file Scene.cpp.\hypertarget{class_scene_dc8a7f6f567868073b67afa3c0dc1a6c}{
\index{Scene@{Scene}!get\_\-state\_\-i@{get\_\-state\_\-i}}
\index{get\_\-state\_\-i@{get\_\-state\_\-i}!Scene@{Scene}}
\subsubsection[{get\_\-state\_\-i}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TState} Scene::get\_\-state\_\-i (GLuint {\em n})}}
\label{class_scene_dc8a7f6f567868073b67afa3c0dc1a6c}


State of i-object. 

\begin{Desc}
\item[Returns:]State of the object \end{Desc}


Definition at line 108 of file Scene.cpp.\hypertarget{class_scene_1cb1fd7eab4e761e90b9f5a74d598afe}{
\index{Scene@{Scene}!importar@{importar}}
\index{importar@{importar}!Scene@{Scene}}
\subsubsection[{importar}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::importar (char $\ast$ {\em ruta})}}
\label{class_scene_1cb1fd7eab4e761e90b9f5a74d598afe}


\hypertarget{class_scene_63bb8e39e0c28b07f18a560c313f9e1b}{
\index{Scene@{Scene}!insert\_\-cube@{insert\_\-cube}}
\index{insert\_\-cube@{insert\_\-cube}!Scene@{Scene}}
\subsubsection[{insert\_\-cube}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::insert\_\-cube (GLdouble {\em side})}}
\label{class_scene_63bb8e39e0c28b07f18a560c313f9e1b}


Insert a cube. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em side}]: length of the sides \end{description}
\end{Desc}


Definition at line 245 of file Scene.cpp.\hypertarget{class_scene_1cbb8993b8dc0943ddf1a8e123a9f0a9}{
\index{Scene@{Scene}!insert\_\-monkey@{insert\_\-monkey}}
\index{insert\_\-monkey@{insert\_\-monkey}!Scene@{Scene}}
\subsubsection[{insert\_\-monkey}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::insert\_\-monkey ()}}
\label{class_scene_1cbb8993b8dc0943ddf1a8e123a9f0a9}


Insert monkey. 



Definition at line 266 of file Scene.cpp.\hypertarget{class_scene_29b4466b5e52d786b89b72e515c6c707}{
\index{Scene@{Scene}!insert\_\-plane@{insert\_\-plane}}
\index{insert\_\-plane@{insert\_\-plane}!Scene@{Scene}}
\subsubsection[{insert\_\-plane}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::insert\_\-plane (GLdouble {\em x}, \/  GLdouble {\em y})}}
\label{class_scene_29b4466b5e52d786b89b72e515c6c707}


Insert a plane. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em x}]: length \item[{\em y}]: anchor \end{description}
\end{Desc}


Definition at line 238 of file Scene.cpp.\hypertarget{class_scene_9572f633835ba3df50a6aecc7d65a28a}{
\index{Scene@{Scene}!insert\_\-pyramid@{insert\_\-pyramid}}
\index{insert\_\-pyramid@{insert\_\-pyramid}!Scene@{Scene}}
\subsubsection[{insert\_\-pyramid}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::insert\_\-pyramid (GLuint {\em base\_\-side\_\-n}, \/  GLdouble {\em base\_\-side}, \/  GLdouble {\em height})}}
\label{class_scene_9572f633835ba3df50a6aecc7d65a28a}


Insert pyramid. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em base\_\-side\_\-n}]: number of sides of the base \item[{\em base\_\-side}]: length of base sides \item[{\em heigth}]: heigth of the pyramid \end{description}
\end{Desc}


Definition at line 259 of file Scene.cpp.\hypertarget{class_scene_4fccf249ba30c5ddaddbde04e502b667}{
\index{Scene@{Scene}!insert\_\-sphere@{insert\_\-sphere}}
\index{insert\_\-sphere@{insert\_\-sphere}!Scene@{Scene}}
\subsubsection[{insert\_\-sphere}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::insert\_\-sphere (GLdouble {\em radius})}}
\label{class_scene_4fccf249ba30c5ddaddbde04e502b667}


Insert sphere. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em radius}]: radius of the sphere \end{description}
\end{Desc}


Definition at line 252 of file Scene.cpp.\hypertarget{class_scene_36f6361335b985ccaa2d6e9d6eedb826}{
\index{Scene@{Scene}!insert\_\-teapot@{insert\_\-teapot}}
\index{insert\_\-teapot@{insert\_\-teapot}!Scene@{Scene}}
\subsubsection[{insert\_\-teapot}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::insert\_\-teapot ()}}
\label{class_scene_36f6361335b985ccaa2d6e9d6eedb826}


Insert teapot. 



Definition at line 273 of file Scene.cpp.\hypertarget{class_scene_0c6ebf94218c301c1336efa56f6d2a14}{
\index{Scene@{Scene}!merge@{merge}}
\index{merge@{merge}!Scene@{Scene}}
\subsubsection[{merge}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::merge (GLuint {\em a}, \/  GLuint {\em b})}}
\label{class_scene_0c6ebf94218c301c1336efa56f6d2a14}


Merge two objects. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em a,:}]descriptor of the first object \item[{\em b,:}]descriptor of the second object \end{description}
\end{Desc}


Definition at line 219 of file Scene.cpp.\hypertarget{class_scene_7ab39f23b7b9248e3e4a1c374245baa6}{
\index{Scene@{Scene}!move@{move}}
\index{move@{move}!Scene@{Scene}}
\subsubsection[{move}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::move ({\bf Vertex3D} {\em pos})}}
\label{class_scene_7ab39f23b7b9248e3e4a1c374245baa6}


Move selected objects to determined position. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em pos}]: new position of the center of mass \end{description}
\end{Desc}


Definition at line 184 of file Scene.cpp.\hypertarget{class_scene_faca31e6be27bc6d8591f343eb12a9fe}{
\index{Scene@{Scene}!rotate@{rotate}}
\index{rotate@{rotate}!Scene@{Scene}}
\subsubsection[{rotate}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::rotate (GLdouble {\em degree}, \/  {\bf TAxis} {\em axis})}}
\label{class_scene_faca31e6be27bc6d8591f343eb12a9fe}


Rotate selected objects. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em degree}]: degrees to rotate \item[{\em axis}]: axis to rotate around \end{description}
\end{Desc}


Definition at line 200 of file Scene.cpp.\hypertarget{class_scene_a35381dc8102a681e846324c9439ff3d}{
\index{Scene@{Scene}!scale@{scale}}
\index{scale@{scale}!Scene@{Scene}}
\subsubsection[{scale}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::scale (GLdouble {\em factor}, \/  {\bf TAxis} {\em axis})}}
\label{class_scene_a35381dc8102a681e846324c9439ff3d}


Scale selected objects. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em factor}]: scale factor \item[{\em axis}]: scale the object restricted to axis \end{description}
\end{Desc}


Definition at line 192 of file Scene.cpp.\hypertarget{class_scene_b77cf824140246a628d6982de3506deb}{
\index{Scene@{Scene}!select\_\-all@{select\_\-all}}
\index{select\_\-all@{select\_\-all}!Scene@{Scene}}
\subsubsection[{select\_\-all}]{\setlength{\rightskip}{0pt plus 5cm}GLuint Scene::select\_\-all ()}}
\label{class_scene_b77cf824140246a628d6982de3506deb}


Select all objects. 

\begin{Desc}
\item[Returns:]number of objects selected \end{Desc}


Definition at line 61 of file Scene.cpp.\hypertarget{class_scene_07833d14eb8d900856eb362fcccd4eef}{
\index{Scene@{Scene}!select\_\-inverse@{select\_\-inverse}}
\index{select\_\-inverse@{select\_\-inverse}!Scene@{Scene}}
\subsubsection[{select\_\-inverse}]{\setlength{\rightskip}{0pt plus 5cm}GLuint Scene::select\_\-inverse ()}}
\label{class_scene_07833d14eb8d900856eb362fcccd4eef}


Make inverse selection. 

\begin{Desc}
\item[Returns:]number of objects selected \end{Desc}


Definition at line 76 of file Scene.cpp.\hypertarget{class_scene_7550fbacdb5e49bf44dde1891c02b8b9}{
\index{Scene@{Scene}!select\_\-object@{select\_\-object}}
\index{select\_\-object@{select\_\-object}!Scene@{Scene}}
\subsubsection[{select\_\-object}]{\setlength{\rightskip}{0pt plus 5cm}GLuint Scene::select\_\-object (GLuint {\em n})}}
\label{class_scene_7550fbacdb5e49bf44dde1891c02b8b9}


Select n'th object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em n}]: index of the object in vector \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]: 0 if exists, 1 if doesnt \end{Desc}


Definition at line 91 of file Scene.cpp.\hypertarget{class_scene_8cf76f8f8f04e4d14677985229910a40}{
\index{Scene@{Scene}!set\_\-state@{set\_\-state}}
\index{set\_\-state@{set\_\-state}!Scene@{Scene}}
\subsubsection[{set\_\-state}]{\setlength{\rightskip}{0pt plus 5cm}void Scene::set\_\-state ({\bf TState} {\em st})}}
\label{class_scene_8cf76f8f8f04e4d14677985229910a40}


Set the operation mode. 



Definition at line 43 of file Scene.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/home/javier/Escritorio/core/include/\hyperlink{_scene_8h}{Scene.h}\item 
/home/javier/Escritorio/core/src/\hyperlink{_scene_8cpp}{Scene.cpp}\end{CompactItemize}
